feat(themes): Add shadcn theme#6322
Conversation
🦋 Changeset detectedLatest commit: e7275b5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 22 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
!snapshot |
|
Hey @alexcarpenter - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/agent-toolkit@0.1.9-snapshot.v20250716141613 --save-exact
npm i @clerk/astro@2.10.6-snapshot.v20250716141613 --save-exact
npm i @clerk/backend@2.4.4-snapshot.v20250716141613 --save-exact
npm i @clerk/chrome-extension@2.5.7-snapshot.v20250716141613 --save-exact
npm i @clerk/clerk-js@5.73.1-snapshot.v20250716141613 --save-exact
npm i @clerk/elements@0.23.41-snapshot.v20250716141613 --save-exact
npm i @clerk/clerk-expo@2.14.6-snapshot.v20250716141613 --save-exact
npm i @clerk/expo-passkeys@0.3.18-snapshot.v20250716141613 --save-exact
npm i @clerk/express@1.7.8-snapshot.v20250716141613 --save-exact
npm i @clerk/fastify@2.4.8-snapshot.v20250716141613 --save-exact
npm i @clerk/localizations@3.19.1-snapshot.v20250716141613 --save-exact
npm i @clerk/nextjs@6.25.2-snapshot.v20250716141613 --save-exact
npm i @clerk/nuxt@1.7.9-snapshot.v20250716141613 --save-exact
npm i @clerk/clerk-react@5.35.1-snapshot.v20250716141613 --save-exact
npm i @clerk/react-router@1.8.2-snapshot.v20250716141613 --save-exact
npm i @clerk/remix@4.10.2-snapshot.v20250716141613 --save-exact
npm i @clerk/shared@3.12.2-snapshot.v20250716141613 --save-exact
npm i @clerk/tanstack-react-start@0.20.2-snapshot.v20250716141613 --save-exact
npm i @clerk/testing@1.10.2-snapshot.v20250716141613 --save-exact
npm i @clerk/themes@2.4.0-snapshot.v20250716141613 --save-exact
npm i @clerk/types@4.66.1-snapshot.v20250716141613 --save-exact
npm i @clerk/vue@1.8.16-snapshot.v20250716141613 --save-exact |
|
!snapshot |
|
Hey @alexcarpenter - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/agent-toolkit@0.1.11-snapshot.v20250716183151 --save-exact
npm i @clerk/astro@2.10.8-snapshot.v20250716183151 --save-exact
npm i @clerk/backend@2.5.0-snapshot.v20250716183151 --save-exact
npm i @clerk/chrome-extension@2.5.9-snapshot.v20250716183151 --save-exact
npm i @clerk/clerk-js@5.73.3-snapshot.v20250716183151 --save-exact
npm i @clerk/elements@0.23.43-snapshot.v20250716183151 --save-exact
npm i @clerk/clerk-expo@2.14.8-snapshot.v20250716183151 --save-exact
npm i @clerk/expo-passkeys@0.3.20-snapshot.v20250716183151 --save-exact
npm i @clerk/express@1.7.10-snapshot.v20250716183151 --save-exact
npm i @clerk/fastify@2.4.10-snapshot.v20250716183151 --save-exact
npm i @clerk/localizations@3.19.3-snapshot.v20250716183151 --save-exact
npm i @clerk/nextjs@6.25.4-snapshot.v20250716183151 --save-exact
npm i @clerk/nuxt@1.7.11-snapshot.v20250716183151 --save-exact
npm i @clerk/clerk-react@5.35.3-snapshot.v20250716183151 --save-exact
npm i @clerk/react-router@1.8.4-snapshot.v20250716183151 --save-exact
npm i @clerk/remix@4.10.4-snapshot.v20250716183151 --save-exact
npm i @clerk/shared@3.12.4-snapshot.v20250716183151 --save-exact
npm i @clerk/tanstack-react-start@0.20.4-snapshot.v20250716183151 --save-exact
npm i @clerk/testing@1.10.4-snapshot.v20250716183151 --save-exact
npm i @clerk/themes@2.4.0-snapshot.v20250716183151 --save-exact
npm i @clerk/types@4.67.1-snapshot.v20250716183151 --save-exact
npm i @clerk/vue@1.8.18-snapshot.v20250716183151 --save-exact |
| justifyContent: 'flex-start', | ||
| backgroundColor: isActive ? t.colors.$neutralAlpha100 : undefined, | ||
| color: isActive ? t.colors.$primary500 : t.colors.$neutralAlpha600, | ||
| color: isActive ? t.colors.$primary500 : t.colors.$colorMutedForeground, |
📝 WalkthroughWalkthroughThis change introduces a new Estimated code review effort3 (30–60 minutes) 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/elements
@clerk/clerk-expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/clerk-react
@clerk/react-router
@clerk/remix
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/themes
@clerk/types
@clerk/upgrade
@clerk/vue
commit: |
This reverts commit 80671d6.
|
!snapshot |
|
Hey @alexcarpenter - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/agent-toolkit@0.1.11-snapshot.v20250718154534 --save-exact
npm i @clerk/astro@2.10.8-snapshot.v20250718154534 --save-exact
npm i @clerk/backend@2.5.0-snapshot.v20250718154534 --save-exact
npm i @clerk/chrome-extension@2.5.9-snapshot.v20250718154534 --save-exact
npm i @clerk/clerk-js@5.73.3-snapshot.v20250718154534 --save-exact
npm i @clerk/elements@0.23.43-snapshot.v20250718154534 --save-exact
npm i @clerk/clerk-expo@2.14.8-snapshot.v20250718154534 --save-exact
npm i @clerk/expo-passkeys@0.3.20-snapshot.v20250718154534 --save-exact
npm i @clerk/express@1.7.10-snapshot.v20250718154534 --save-exact
npm i @clerk/fastify@2.4.10-snapshot.v20250718154534 --save-exact
npm i @clerk/localizations@3.20.0-snapshot.v20250718154534 --save-exact
npm i @clerk/nextjs@6.25.4-snapshot.v20250718154534 --save-exact
npm i @clerk/nuxt@1.7.11-snapshot.v20250718154534 --save-exact
npm i @clerk/clerk-react@5.35.3-snapshot.v20250718154534 --save-exact
npm i @clerk/react-router@1.8.4-snapshot.v20250718154534 --save-exact
npm i @clerk/remix@4.10.4-snapshot.v20250718154534 --save-exact
npm i @clerk/shared@3.12.4-snapshot.v20250718154534 --save-exact
npm i @clerk/tanstack-react-start@0.20.4-snapshot.v20250718154534 --save-exact
npm i @clerk/testing@1.10.4-snapshot.v20250718154534 --save-exact
npm i @clerk/themes@2.4.0-snapshot.v20250718154534 --save-exact
npm i @clerk/types@4.68.0-snapshot.v20250718154534 --save-exact
npm i @clerk/vue@1.8.18-snapshot.v20250718154534 --save-exact |
|
|
||
| import { processCssLayerNameExtraction } from '../appearance'; | ||
|
|
||
| describe('processCssLayerNameExtraction', () => { |
There was a problem hiding this comment.
👍 Awesome that you pulled this out and made it testable.
| @@ -0,0 +1,7 @@ | |||
| --- | |||
| '@clerk/clerk-js': minor | |||
| '@clerk/themes': minor | |||
There was a problem hiding this comment.
Is this the right approach for changeset, one for the newly added theme, and one for the new functionality to support cssLayerName, both marked as minor?
Introduces normal, medium, and semibold font weight variables to the theme. Updates the button style selector to target only solid variant buttons for the ::after pseudo-element.
|
!snapshot |
1 similar comment
|
!snapshot |
|
Hey @alexcarpenter - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/agent-toolkit@0.1.12-snapshot.v20250722142254 --save-exact
npm i @clerk/astro@2.10.9-snapshot.v20250722142254 --save-exact
npm i @clerk/backend@2.5.1-snapshot.v20250722142254 --save-exact
npm i @clerk/chrome-extension@2.5.11-snapshot.v20250722142254 --save-exact
npm i @clerk/clerk-js@5.75.0-snapshot.v20250722142254 --save-exact
npm i @clerk/elements@0.23.44-snapshot.v20250722142254 --save-exact
npm i @clerk/clerk-expo@2.14.10-snapshot.v20250722142254 --save-exact
npm i @clerk/expo-passkeys@0.3.21-snapshot.v20250722142254 --save-exact
npm i @clerk/express@1.7.11-snapshot.v20250722142254 --save-exact
npm i @clerk/fastify@2.4.11-snapshot.v20250722142254 --save-exact
npm i @clerk/localizations@3.20.2-snapshot.v20250722142254 --save-exact
npm i @clerk/nextjs@6.25.5-snapshot.v20250722142254 --save-exact
npm i @clerk/nuxt@1.7.12-snapshot.v20250722142254 --save-exact
npm i @clerk/clerk-react@5.35.4-snapshot.v20250722142254 --save-exact
npm i @clerk/react-router@1.8.5-snapshot.v20250722142254 --save-exact
npm i @clerk/remix@4.10.5-snapshot.v20250722142254 --save-exact
npm i @clerk/shared@3.14.0-snapshot.v20250722142254 --save-exact
npm i @clerk/tanstack-react-start@0.21.1-snapshot.v20250722142254 --save-exact
npm i @clerk/testing@1.10.5-snapshot.v20250722142254 --save-exact
npm i @clerk/themes@2.4.0-snapshot.v20250722142254 --save-exact
npm i @clerk/types@4.69.0-snapshot.v20250722142254 --save-exact
npm i @clerk/vue@1.8.19-snapshot.v20250722142254 --save-exact |


Description
To support this theme, we've added the ability to specify a
cssLayerNamewithin a theme - #6344Resolves USER-2373
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit